package lab8.task2;

public class Foo {
	private int iter = 0;
	private String wc = "Was called ";
	
	public Foo(int iter) {
		super();
		this.iter = iter;
	}

	@Override
	protected void finalize() throws Throwable {
		System.out.println(wc + iter); 		
		super.finalize();
	}

}
